namespace BookDownloader.Core.Implementation
{
	public class FileFormatFactory
	{
		private static readonly ILibFileFormat fb2 = new Fb2FileFormat();

		public static ILibFileFormat Fb2
		{
			get
			{
				return fb2;
			}
		}

		private static readonly ILibFileFormat mobi = new MobiFileFormat();

		public static ILibFileFormat Mobi
		{
			get
			{
				return mobi;
			}
		}
	}

	public class Fb2FileFormat : ILibFileFormat
	{
		public string FormatName
		{
			get { return "Fb2"; }
		}

		public string Extenstion
		{
			get { return "fb2"; }
		}
	}
	public class MobiFileFormat : ILibFileFormat
	{
		public string FormatName
		{
			get { return "Mobi"; }
		}

		public string Extenstion
		{
			get { return "mobi"; }
		}
	}

}